package dataPO;

public class CourseStudentRecordPO extends InfoPO {

	private static final long serialVersionUID = 1L;

	private final String courseID;
	private String courseName;
	private String userID;
	private String studentName;
	private String score;
	
	public CourseStudentRecordPO(String courseID, String courseName, String userID, String studentName, String score) {
		super(InfoPO.CourseStudentRecord);
		this.courseID = courseID;
		this.courseName = courseName;
		this.userID = userID;
		this.studentName = studentName;
		this.score = score;
	}
	
    @Override
    public String[] toArray() {
        return new String[]{courseID, courseName, userID, studentName, score};
    }

    public String getCourseID() {
        return courseID;
    }

    public String getCourseName() {
        return courseName;
    }

    public String getUserID() {
        return userID;
    }

    public String getScore() {
        return score;
    }

    @Override
    public String[] getArrayForShow() {
        return toArray();
    }

    public String getStudentName() {
        return studentName;
    }
	
}
